"""class A:
    def f (self,n):
        print(self,n)
if __name__ == '__main__':
    a = A()
    a.f(5)"""

"""class Teacher:
    def __init__(self,name,age,sex):
        self.name = name
        self.age = age
        self.sex = sex
    def tea_info(self):
        print(f"我叫{self.name},年龄{self.age},性别{self.sex}")


    def play(self,p):
        print(f"我们去玩{p}")


if __name__ == '__main__':
    zs = Teacher("张三",23,"男")
    ss = Teacher("ss",11,"男")

    zs.play("篮球")
    ss.play("羽毛球")"""
    # Teacher.play(111,"篮球")
# Teacher.play(zs,'足球')
# zs.tea_info()
# ss.tea_info()
class Student:
    # def __init__(self,name,age,sex):
    #     self.name = name
    #     self.age = age
    #     self.sex = sex
    @classmethod
    def show_info(self,play):
        print(f"今天天气好我们去玩{play}")
    # @staticmethod
    # def add(num1,num2):
    #     return num1+num2
if __name__ == '__main__':
    # Student.show_info(111,"足球")
    Student.show_info("足球")
    # print(Student.add(1, 2))
    #
    # s1 = Student("张三",19,"男")
    # print(s1.add(1,2))














